import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listOrdersdetail(query) {
  return request({
    url: '/system/ordersdetail/list',
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getOrdersdetail(advOrdersdetailId) {
  return request({
    url: '/system/ordersdetail/' + advOrdersdetailId,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addOrdersdetail(data) {
  return request({
    url: '/system/ordersdetail',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateOrdersdetail(data) {
  return request({
    url: '/system/ordersdetail',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export function delOrdersdetail(advOrdersdetailId) {
  return request({
    url: '/system/ordersdetail/' + advOrdersdetailId,
    method: 'delete'
  })
}
//硬件订单明细
export function queryOrderByMore(advOrdersId){
  return request({
    url: '/system/ordersdetail/queryOrderByMore/'+ advOrdersId,
    method: 'get'
  })
}
//内容订单明细
export function queryOrderByMoreTwo(advOrdersId){
  return request({
    url: '/system/ordersdetail/queryOrderByMoreTwo/'+ advOrdersId,
    method: 'get'
  })
}

//内容订单明细
export function queryOrderByMoreThree(advOrdersId){
  return request({
    url: '/system/ordersdetail/queryOrderByMoreThree/'+ advOrdersId,
    method: 'get'
  })
}
